
Windows is similar to Unix. When a parent process
creates a child process, the child automatically
inherits the parent's standard streams.

There is one exception to this. If the parent asks
for the child to have its own console window, then
the child does not automatically inherit the standard
streams (the new console's standard streams are the
default ones). But it is pretty easy to redirect the
standard streams of the new console back to the parent's
standard streams.

This folder also contains two pairs of examples that
demonstrate what happens when two processes share an
input or output stream.